243234dc33e7ad5ad3cdf136a9a29ce19e807cea,test/org/basex/test/query/InexDBTestNew.java,InexDBTestNew,createQueryEntry,#number#SeqIter#,516

Before Change


        token("topic-id"), token(tid[q]),
        token("total_time_ms"), token(qtimes[q])
    );
    xml.openElement(token("result"));
    xml.openElement(token("file"));
    // [SG] which file???
    xml.text(token("wikpedia"));
    xml.closeElement();

    Item a;
    int r = 1;

After Change


    Item a;
    int r = 1;
    while(res != null && (a = res.next()) != null) {
      if (r == k) break;
      if(a instanceof Str) {
        xml.openElement(token("result"));
        xml.openElement(token("file"));
        xml.text(token("pages"));
        xml.closeElement();
        xml.openElement(token("path"));
        xml.text(a.str());
        xml.closeElement();